#ifndef __LIST_H__
#define __LIST_H__

#include <xcb/xcb.h>

typedef struct wm_list wm_list_t;

//------------------list
extern int delete_by_win(xcb_window_t win);
extern int delete_by_frame(xcb_window_t frame);
extern xcb_window_t get_frame_by_win(xcb_window_t win);
extern xcb_window_t get_win_by_frame(xcb_window_t frame);
extern int add_wm_pair(xcb_window_t frame, xcb_window_t win);
extern void destroy_wms_list();

#endif  //__LIST_H__